package lime.dql.provider;

import java.util.List;

import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;

import com.documentum.fc.client.IDfTypedObject;

public class ResultContentProvider  implements IStructuredContentProvider {

	@SuppressWarnings("unchecked")
	public Object[] getElements(Object arg0) {
		List<IDfTypedObject> objects = (List<IDfTypedObject>) arg0;
		return objects.toArray();
	}

	public void inputChanged(Viewer arg0, Object arg1, Object arg2) {
		// Empty		
	}

	
	public void dispose() {
		// Empty		
	}
	
}

